package com.web.base.wechat.message;

import com.blue.core.dict.State;
import com.blue.core.dict.WechatType;

import java.io.Serializable;
import java.util.Date;

public class WechatResponse implements Serializable
{
	private static final long serialVersionUID = 1L;

	private Integer id;
	private String code;
	private String openId;
	private String name;
	private Date createTime;
	private State state;
	private String token;
	private String appId;
	private String appSecret;
	private String mchId;
	private String mchKey;
	private WechatType type;
	private String url;

	public WechatResponse()
	{
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getCode()
	{
		return code;
	}

	public void setCode(String code)
	{
		this.code = code;
	}

	public String getOpenId()
	{
		return openId;
	}

	public void setOpenId(String openId)
	{
		this.openId = openId;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public State getState()
	{
		return state;
	}

	public void setState(State state)
	{
		this.state = state;
	}

	public String getToken()
	{
		return token;
	}

	public void setToken(String token)
	{
		this.token = token;
	}

	public String getAppId()
	{
		return appId;
	}

	public void setAppId(String appId)
	{
		this.appId = appId;
	}

	public String getAppSecret()
	{
		return appSecret;
	}

	public void setAppSecret(String appSecret)
	{
		this.appSecret = appSecret;
	}

	public String getMchId()
	{
		return mchId;
	}

	public void setMchId(String mchId)
	{
		this.mchId = mchId;
	}

	public String getMchKey()
	{
		return mchKey;
	}

    public void setMchKey(String mchKey)
	{
		this.mchKey = mchKey;
	}

	public WechatType getType()
	{
		return type;
	}

	public void setType(WechatType type)
	{
		this.type = type;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

}
